/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package afterubuntu.pojo;

import java.util.HashMap;

/**
 *
 * @author Kermit
 */
public class AfterUbuntuData {

    private HashMap<String, Category> categories = new HashMap<String, Category>();

    public Category getCategory(String categoryName){
        return categories.get(categoryName);
    }

    public void addCategory(Category category) {
        categories.put(category.getName(), category);
    }

    public HashMap<String, Category> getCategories() {
        return categories;
    }




}
